<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>注册</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }

        .input {
            padding: 5px;
            height: 38px;
            box-sizing: border-box;
            width: 400px;
            margin: 2px;
        }
        span {
            display: inline-block;
            height: 35px;
            width: 70px;
            text-align: right;
        }

        input[type="button"] {
            height: 35px;
            width: 120px;
            padding: 2px 5px;
            box-sizing: border-box;
        }

        .col {
            margin: 10px;
        }

        .col4 {
            margin: 10px 80px;
        }

        .col3 > input[type="text"] {
            width: 275px;
        }

        .submit {
            height: 45px;
            width: 400px;
            color: white;
            background: rgb(91, 113, 241);
            font-family: "黑体";
            font-size: 18px;
            margin-left: 80px;
        }

        a {
            text-decoration: none;
        }

        .contrain {
            margin-top: 100px;
            text-align: center;
        }

        body {
            background: url("/img/registerBg.jpg");
            background-repeat: no-repeat;
            background-size: 100% 100%;
        }
    </style>
</head>
<body>
<div class="contrain">
    <form action="/registerServlet" method="post">
        <div class="col">
            <span>姓名:</span>
            <input type="text" name="name" id="user" class="input" placeholder=" 请输入姓名">
        </div>
        <div class="col">
            <span>性别:</span>
            <input type="radio" name="gender" id="gender" value="man">男
            <input type="radio" name="gender" value="female">女
        </div>
        <div class="col">
            <span>年龄:</span>
            <input type="text" name="age" id="age" class="input" placeholder="请输入年龄">
        </div>
        <div class="col">
            <span>地址:</span>
            <input type="text" name="address" id="address" class="input" placeholder="请输入地址">
        </div>
        <div class="col">
            <span>QQ:</span>
            <input type="text" name="qq" id="qq" class="input" placeholder="请输入QQ">
        </div>
        <div class="col">
            <span>邮箱:</span>
            <input type="text" name="email" id="email" class="input" placeholder="请输入邮箱">
        </div>
        <div class="col">
            <span>用户名:</span>
            <input type="text" name="username" id="username" class="input" placeholder="请输入用户名">
        </div>
        <div class="col">
            <span>密码:</span>
            <input type="text" name="password" id="password" class="input" placeholder="请设置登录密码">
        </div>
        <div class="col3 col">
            <span>验证码:</span>
            <input type="text" name="code" id="password_id" class="input" placeholder="请输入验证码">
            <%-- <input type="button" value="获取短信验证码" class="button" id="getId">--%>
            <img src="/checkCode">
            <div>${msg}</div>
        </div>
        <div>
            <button id="submit" class="submit">注册</button>
        </div>
    </form>
</div>
</body>
</html>
